Advanced Code Editing

There are multiple code editing features that simplify code typing, navigation and provide convenient code transformations.

Go to Declaration

Navigates to the declaration of the element under cursor.

Go to Type Declaration

Navigates to the declaration of the type of the element under cursor.

Go to Super Method

Navigates to the declaration of the super method for the method under cursor.

Override Methods

Allows to choose accessible methods from base classes to override and creates compilable stubs for them in the currently edited class.

Implement Methods

Allows to choose accessible abstract methods from base classes/interfaces to implement and creates compilable stubs for them in the currently edited class.

Surround with try/catch

Checks for exceptions thrown by the selected block of code and wraps the whole block into the corresponding try/catch statements.

Comment with Line Comment

Comments/uncomments every line of the currently selected block of code with wing comments (//).
When called on a line with no selection, comments the line and moves the caret to the next line.

Comment with Block Comment

Comments the currently selected block of code with block comment (/* */).
When called inside a commented block, uncomments it. When called in non-commented code and the selection is empty, does nothing.